﻿using System;
using System.ComponentModel;
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using LeadThing.AbpZeroTemplate.SpecialPersons;

namespace LeadThing.AbpZeroTemplate.SpecialPersons.Dtos
{
    /// <summary>
    /// 重点特殊人群列表Dto
    /// </summary>
    [AutoMapFrom(typeof(SpecialPerson))]
    public class SpecialPersonListDto : EntityDto<long>
    {
        /// <summary>
        /// 人员姓名
        /// </summary>
        [DisplayName("人员姓名")]
        public string Name { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        [DisplayName("性别")]
        public bool Sex { get; set; }
        /// <summary>
        /// 身份证号
        /// </summary>
        [DisplayName("身份证号")]
        public string IDCard { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        [DisplayName("手机号")]
        public string Phone { get; set; }
        /// <summary>
        /// 人员类型ID
        /// </summary>
        [DisplayName("人员类型ID")]
        public int PersonTypeID { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        [DisplayName("创建时间")]
        public DateTime CreationTime { get; set; }

        /// <summary>
        /// 镇
        /// </summary>
        [DisplayName("镇")]
        public int TownID { get; set; }
        /// <summary>
        /// 区
        /// </summary>
        [DisplayName("区")]
        public int AreaID { get; set; }
        /// <summary>
        /// 村庄
        /// </summary>
        [DisplayName("村庄")]
        public int VillageID { get; set; }

        /// <summary>
        /// 民族
        /// </summary>
        [DisplayName("民族")]
        public string Nation { get; set; }

        /// <summary>
        /// 健康状况
        /// </summary>
        [DisplayName("健康状况")]
        public string Health { get; set; }

        /// <summary>
        /// 政治面貌
        /// </summary>
        [DisplayName("政治面貌")]
        public string Politics { get; set; }


        /// <summary>
        /// 文化程度
        /// </summary>
        [DisplayName("文化程度")]
        public string Culture { get; set; }


        /// <summary>
        /// 地址
        /// </summary>
        [DisplayName("地址")]
        public string Address { get; set; }


        #region 扩展字段
        /// <summary>
        /// 性别
        /// </summary>
        [DisplayName("性别")]
        public string SexTitle { get; set; }

        /// <summary>
        /// 镇名称
        /// </summary>
        [DisplayName("镇")]
        public string TownTitle { get; set; }

        /// <summary>
        /// 区名称
        /// </summary>
        [DisplayName("区")]
        public string AreaTitle { get; set; }

        /// <summary>
        /// 村名称
        /// </summary>
        [DisplayName("村庄")]
        public string VillageTitle { get; set; }

        /// <summary>
        /// 人员类型名称
        /// </summary>
        [DisplayName("人员类型ID")]
        public string PersonTypeTitle { get; set; }


        #endregion
    }
}
